<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>日志类型明细</title>

</head>
<body>

<div id="log_type_details_page" data-role="dialog">
    <div data-role="header" data-theme="f">
        <h1>日志类型明细</h1>
    </div>
    <div data-role="content">
        <div class="ui-bar-c ui-corner-top ui-corner-bottom details-area">
            <p><strong>名称:</strong>&nbsp;${logType.name}</p>

            <p><strong>创建日期:</strong>&nbsp;${logType.createDate} </p>

            <p><strong>描述:</strong>&nbsp;${logType.description} </p>

            <p><strong>使用次数:</strong>&nbsp;${logType.logAmount}</p>

        </div>
        <%--只有用户自己才显示修改--%>
        <c:if test="${logType.allowEdit}">
            <a href="../form?guid=${logType.guid}" data-role="button" data-theme="b" data-transition="fade"
               >修改</a>
        </c:if>
        <c:if test="${not logType.selectedType}">
            <a href="../default_type/${logType.guid}" data-role="button" data-theme="b" data-ajax="false">设为默认</a>
        </c:if>
        <a href="javascript:void(0);" data-role="button" data-rel="back">返回</a>
    </div>
</div>
</body>
</html>